<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>-</title>
	<link rel="stylesheet" href='<c:url value="/resources/css/main.css"/>' type="text/css" />
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/default/easyui.css"/>'/>
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/icon.css"/>'/>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery-1.4.4.min.js"/>'></script>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery.easyui.min.js"/>'></script>
	<script type="text/javascript">
	$(function(){
	});
	</script>
</head>
<body id="jive-body">
<div id="main">
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tbody>
		<tr valign="top">
			<td width="99%" id="jive-content">
 				<h1>所有服务</h1>
				<div id="jive-main-content">
					<p>服务总数: <b>1</b> -- 按服务名排序 -- 每页: <select><option>25</option><option>50</option><option>75</option><option>100</option></select></p>
					<p>页: [<a class="class="jive-current"" href="#">1</a> <a href="#">2</a>]</p>

<p/>

<div class="jive-table">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<thead>
    <tr>
        <th>&nbsp;</th>
        <th nowrap>状态</th>
        <th nowrap>服务名称</th>
        <th nowrap>类型</th>
        <th nowrap>服务规约</th>
        <th nowrap>试用</th>
        <th nowrap>编辑</th>
        <th nowrap>删除</th>
    </tr>
</thead>
<tbody>
<c:set var="index" value="1"/>
<c:forEach var="service" items="${services}">
    <tr class="jive-odd">
        <td width="1%">
            ${index}
        </td>
        <td width="1%" align="center" valign="middle">
            <img src="<c:url value='/resources/images/${service.status}-16x16.gif'/>" width="16" height="16" border="0">
        </td>
        <td width="18%">
            <a href="detail?serviceName=${service.name}">${service.name}</a>
        </td>
        <td width="10%"></td>
        <td width="53%">
            <a href="${service.wsdl}" target="_blank">${service.wsdl}</a>
        </td>
        <td width="5%">
            <a href="try?serviceName=${service.name}"><img src="<c:url value='/resources/images/setup_btn_gearplay.gif'/>" width="16" height="16" border="0"></a>
        </td>
        <td width="5%">
            <a href="edit?serviceName=${service.name}"><img src="<c:url value='/resources/easyui/themes/icons/pencil.png'/>" width="16" height="16" border="0"></a>
        </td>
        <td width="5%">
            <a href="delete?serviceName=${service.name}"><img src="<c:url value='/resources/images/icons/delete.png'/>" width="16" height="16" border="0"></a>
        </td>
    </tr>
    <c:set var="index" value="${index + 1}"/>
</c:forEach>
</tbody>
</table>
</div>

<p/>
					<p>页: [<a class="class="jive-current"" href="#">1</a> <a href="#">2</a>]</p>


				</div>
			</td>
		</tr>
	</tbody>
	</table>
</div>
</body>
</html>
